export default function SortDataHook() {
  type FieldType = {
    [propsName: string]: any;
  };
  //排序字段
  const fieldData: FieldType = {
    customerName: "customerId", //客户简称
    shortName: "customerId", //客户简称
    warehouseProperty: "warehouseProperty", //仓库属性
    warehouseName: "warehouseName", //拣货仓库
    locusUpdateTime: "locusUpdateTime", //轨迹更新时间
    countryRegionName: "countryRegionId", //  目的地
    courierCompanies: "courierCompanies", //   快递公司
    channelName: "channelId", //渠道
    outWarehouseBrokerName: "outWarehouseBrokerId", //代理
    makeInvoiceStatus: "makeInvoiceStatus", //制作发票
    depositTime: "depositTime", //拣货时间
    createTime: "createTime", //出账时间  创建时间
    createName: "createBy", //出账人
    bizName: "bizId", //业务员
    followName: "followId", //跟单员
    companyName: "companyId", //经营单位
    addressType: "addressType", //运单类型
    agent: "agentId", //代理商,
    statementType: "statementType", //账单类型
    payAccount: "payAccountId", //付款账户
    finName: "finId", //审批人 财务
    state: "state", //审批状态
    proceedsAccount: "accountId", //收款账户
    createOrderTime: "createTime", //下单时间
    accountName: "accountPeriodId", //账期
    shipmentLimit: "shipmentLimit", //业务状态
    questionType: "questionType" //问题类型
  };

  return {
    fieldData
  };
}
